package com.qcu.mapper;

import com.qcu.entity.PostFailLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author MyComputer
* @description 针对表【post_fail_log】的数据库操作Mapper
* @createDate 2025-02-16 09:43:44
* @Entity com.qcu.entity.PostFailLog
*/
public interface PostFailLogMapper extends BaseMapper<PostFailLog> {

    @Select("select distinct(u.email) from post_fail_log as p\n" +
            "left join user as u on p.user_id = u.id")
    List<String> getEmailOfFailPost();
}




